
package cn.tedu.apps_system.mapper;

import cn.tedu.apps_system.pojo.entity.Review;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ReviewMapper {
    List<Review> selectByProductId(Long productId);

    List<Review> selectByMerchantId(Long merchantId);

    Review selectById(Long id);

    int updateReply(Review review);
}